<?php
namespace functions\attributes\components\Image;

function pagePre(\core\HtmlElement $el)
{
	if (!$el->AttributeExists('page'))
	{
		$el->AddAttribute('page', core("Registry")->Get("file_name", "page"));
	}

	return true;
}